package com.mars.tukuan.rpc.api;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.mars.base.common.utils.Paginator;
import com.mars.base.service.support.IService;
import com.mars.tukuan.dto.CarVo;
import com.mars.tukuan.entity.Car;

public interface CarService extends IService<Car, Long> {
	
	public List<Car> searchCarByNum(String num) ;
	
	public PageInfo<Car> selectPageByCarState(Paginator paginator, CarVo entity) ;
	
	public PageInfo<Car> selectPageByCarCheck(Paginator paginator, CarVo entity) ;
	
	/**
	 * 我的上传
	 * @param pageParam
	 * @param entity
	 * @return
	 */
	public PageInfo<Car> myCarState(Paginator paginator, CarVo entity) ;
	
	public PageInfo<Car> selectPageByHarm(Paginator paginator, CarVo entity) ;
	
	/**
	 * 更新车辆检查时间，用于计算逾期
	 * @param id
	 */
	public void updateCheckTime(Long id) ;

}
